/**
 *  Copyright 2013 University Pierre & Marie Curie - UMR CNRS 7606 (LIP6/MoVe)
 *  All rights reserved.   This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http://www.eclipse.org/legal/epl-v10.html
 *
 *  Initial contributor:
 *    Jean-Luc Amitousa - Thanh Cong - <jeanluc.amitousa.mankoy@gmail.com>
 *
 *  Mailing list:
 *    lom-messan.hillah@lip6.fr
 */
package interfacegen.java.menu;

import interfacegen.java.JavaInterfaceGen;

import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.DefaultListModel;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;


			  
public class InterfacesSettingsFrame
extends JFrame
implements ActionListener{
	
	private JList interfaceListBox;
	
	public InterfacesSettingsFrame() {
		JavaInterfaceGen javaInterfaceGen= 
				new JavaInterfaceGen();
		
		JPanel panel= new JPanel();
		JLabel interfaceSelectionPrompt= new JLabel("select an interface: ");
	
		setTitle("sdmaker interfaces settings");
		setSize(new Dimension(200, 200));
		setDefaultCloseOperation(DISPOSE_ON_CLOSE);
		

		DefaultListModel interfaceListModel= new DefaultListModel();
		interfaceListBox= new JList(interfaceListModel);
		JScrollPane interfaceListJSP= new JScrollPane(interfaceListBox);
		
		panel.add(interfaceSelectionPrompt);
		panel.add(interfaceListJSP);
		add(panel);
	}
	
	public void actionPerformed(ActionEvent e) {
	}

	public static void main(String[] args){
		InterfacesSettingsFrame f= new InterfacesSettingsFrame();
		f.setVisible(true);
	}
}
